<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition template="./default.xhtml">

            <ui:define name="titrePage">
                Accueil
            </ui:define>

            <ui:define name="partieGauche">
                <br /><br />
                <f:view>
                    <h:form>


                        <p:panel id="panel" header="Mes informations">

                            <p:dataTable value="#{compteBancaireMBean.afficherAdministrateurConnecte}"  widgetVar="detailOTable" var="admin"  >



                                <p:column>
                                    <f:facet name="header">
                                        <h:outputText value="ID administrateur"/>
                                    </f:facet>
                                    <h:outputText value="#{admin.id}"/>
                                </p:column>

                                <p:column>
                                    <f:facet name="header">
                                        <h:outputText value="Nom "/>
                                    </f:facet>
                                    <h:outputText value="#{admin.nom}"/>
                                </p:column>

                                <p:column>
                                    <f:facet name="header">
                                        <h:outputText value="Login "/>
                                    </f:facet>
                                    <h:outputText value="#{admin.login}"/>
                                </p:column>


                                <p:column>
                                    <f:facet name="header">
                                        <h:outputText value="Password "/>
                                    </f:facet>
                                    <h:outputText value="#{admin.password}"/>
                                </p:column>


                            </p:dataTable>

                        </p:panel>  


                    </h:form>

                </f:view>

            </ui:define>

        </ui:composition>
    </body>
</html>
